import com.sun.org.apache.regexp.internal.RE;

/**
 * 抽象命令类
 * @author liaosh
 * @date 2022-10-21 15:48
 */
public abstract class Command {
    protected Barbecuer receiver;

    public void setReceiver(Barbecuer receiver) {
        this.receiver = receiver;
    }

    /**
     * 执行命令
     */
    public abstract void executeCommand();
}
